:root {
  font-size: 16px; /* 基准 font-size */
}

/* 独特的命名确保样式隔离 */
.loginContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #FFFFFF;
}

.loginBox {
  display: flex;
  background-color: #fff;
  box-shadow: 0 0 0.625rem #81838F;
  border-radius: 0.5rem;
  overflow: hidden;
  height: 37.5rem;
  width: 68.75rem;
}

.loginImage {
  display: flex;
  flex-direction: column; /* 确保图片纵向排列 */
  padding: 1.25rem;
  height: 28.125rem;
  width: 39.375rem;
  position: relative; /* 为了定位 logo 图片 */
  margin-left: 2rem;
}

.logoAndText {
  display: flex;
  align-items:flex-start;
  margin-top: 1rem; /* 根据需要调整 */
  margin-bottom: 2rem;
}

.logoImg {
  width: 3rem; /* 调整 logo 的宽度 */
  height: auto;
  margin-right: 1rem; /* 调整图片和文字之间的间距 */
}

/* 确保 h1 与 logoImg 在一行显示 */
.logoAndText h1 {
  margin: 0; /* 去除默认的 h1 外边距 */
  font-size: 2rem; /* 根据需要调整字体大小 */
}

.mainImg {
  width: 25.625rem;
  height: 37.5rem;
}

.verticalLine {
  width: 0.0625rem;
  height: 29.375rem;
  background-color: #ccc;
  margin: 1.25rem 0;
  margin-top: 2.8125rem;
  margin-right: 1.75rem; /* 调整此值以控制与右边组件的距离 */
}

.loginForm {
  padding: 1.25rem;
  width: 31.25rem;
}

.loginForm h1 {
  font-size: 2.1875rem;
  margin-bottom: 0.625rem;
  margin-top: 1.5625rem;
}

.loginForm p {
  margin-bottom: 1.65rem;
  margin-top: 0.7rem;
  color: #a1a1a1;
  font-size: 0.8rem;
}

.loginForm a {
  color: #007bff;
  text-decoration: none;
}

.formGroup {
  margin-bottom: 1rem;
  text-align: left;
}

.formGroup label {
  display: block;
  margin-bottom: 0.625rem;
  font-size: 1.125rem;
  color: #6D6C70;
}

.formGroup input {
  font-size: 1rem;
  width: 90%;
  padding: 0.8125rem;
  box-sizing: border-box;
  border: 0.0625rem solid #ccc;
  border-radius: 0.625rem;
  margin-right: 0.0625rem;
  box-shadow: 0 0 0.0625rem #BBBBBB; /* 添加描边 */
  margin-bottom: 0.625rem;
}

.loginButton {
  width: 90%;
  padding: 0.875rem;
  border: none;
  background-color: #6698ff;
  color: #fff;
  font-size: 0.9375rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.loginButton:hover {
  background-color: #0056b3;
}

.loginLinks {
  width: 90%;
  display: flex;
  justify-content: space-between;
  color: #699aff;
  margin-top: 1.25rem;
}

.loginLinks p {
  margin: 0;
}
